/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.edu.fatec.ads.facade;

import br.edu.fatec.ads.bo.BusinessObjectSala;
import br.edu.fatec.ads.classes.Andar;
import br.edu.fatec.ads.util.ComboBoxItem;
import java.util.List;

/**
 *
 * @author Ubirajara
 */
public class FacadeSala {

    private static FacadeSala singleton = null;
    private BusinessObjectSala regraNegocio = null;

    private FacadeSala(){
        regraNegocio = new BusinessObjectSala();
    }

    public static FacadeSala getInstance(){
        if(singleton == null){
            singleton = new FacadeSala();
        }

        return singleton;
    }

    public List<ComboBoxItem> recuperarComboSalas(Andar andar){
        return regraNegocio.recuperarComboSalas(andar);
    }

}
